$colorHui: rgb(247,248,250);
$fontColor: #36464B;
$colorBack: #eee;
$backColor: #3B4059;

.topUp {
  padding: 0 20px;
}
.topUpTitle {
  height: 45px;
  line-height: 45px;
  font-size: 24px;
  color: $fontColor;
  padding: 0 15px;
  position: relative;
  p.topUpRBtn {
    position: absolute;
    top: 3px;
    right: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 40px;
    line-height: 40px;
    a {
      font-size: 14px;
      color: $fontColor;
      display: block;
      padding: 0 15px;
      span {
        margin-left: 5px;
      }
    }
    &:hover {
      background: $backColor;
      border: 1px solid $backColor;
      a {
        color: #fff;
      }
    }
  }
}
.topUpCTitle {
  font-size: 16px;
  color: #333;
  position: relative;
  line-height: 40px;
  margin-top: 10px;
  p {
    padding: 0 10px;
    background: #fff;
    position: relative;
    z-index: 3;
    display: inline-table;
    left: 20px;
  }
  p.line {
    position: absolute;
    height: 1px;
    background: $colorBack;
    width: 100%;
    top: 20px;
    left: 0;
    z-index: 1;
  }
}

.topUpCList {
  padding-top: 15px;
  ul {
    li {
      width: 25%;
      float: left;
      text-align: center;
      a{
        display: block;
        width: 100%;
      }
    }
  }
}
.topUpListArt {
  width: 80%;
  //height: 155px;
  background: rgb(235,234,231);
  display: inline-table;
  border-radius: 5px;
  position: relative;
  padding:15px 10px 55px;
  figure {
    //height: 100%;
    width:100%;
    //width:160px;
    //margin: 15px auto;
    img{
      width: 100%;
      height: auto;
      //margin: 0 auto;
    }
  }
  section {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 40px;
    line-height: 40px;
    background: rgb(12,133,253);
    color: #fff;
    text-align: left;
    text-indent: 10px;
    font-size: 16px;
  }
  &.green {
    section {
      background: rgb(21,193,63);
    }
  }
}

.topUpCareFul {
  border: 1px solid $colorBack;
  padding: 15px 25px;
  line-height: 24px;
  margin-top: 50px;
  border-radius: 5px;
  position: relative;
  overflow: visible;
  aside {
    padding: 0 15px;
    background: #fff;
    position: absolute;
    top: -15px;
    left: 10px;
    font-size: 16px;
  }
  .topUpArtText {
    p {
      padding: 3px 0;
    }
  }
}
